package kam.fire;



import java.io.Serializable;


import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonRootName;

@SuppressWarnings("serial")
@JsonRootName(value = "user")
public class User implements Serializable {

	// campfire generated fields
	private String type;
	@JsonProperty("created_at")
	private String createdAt;
	private boolean admin;
	private int id;
	@JsonProperty("avatar_url")
	private String avatarUrl;
	@JsonProperty("email_address")
	private String emailAdress;
	private String name;
	@JsonProperty("api_auth_token")
	private String apiAuthToken;

	// app generated fields
	private String campsite;
	private int userIndex;

	public int getUserIndex() {
		return userIndex;
	}

	public void setUserIndex(int userIndex) {
		this.userIndex = userIndex;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(String createdAt) {
		this.createdAt = createdAt;
	}

	public String getApiAuthToken() {
		return apiAuthToken;
	}

	public void setApiAuthToken(String apiAuthToken) {
		this.apiAuthToken = apiAuthToken;
	}

	public String getCampsite() {
		return campsite;
	}

	public void setCampsite(String campsite) {
		this.campsite = campsite;
	}

	public String getEmailAdress() {
		return emailAdress;
	}

	public void setEmailAdress(String emailAdress) {
		this.emailAdress = emailAdress;
	}

	public boolean getAdmin() {
		return admin;
	}

	public void setAdmin(boolean admin) {
		this.admin = admin;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
